﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SharePointSearchBench.Library
{
    /// <summary>
    /// Thrown when a <see cref="Microsoft.Office.Server.Search.Query.ResultType"/> value that is
    /// not yet supported is specified in a search.
    /// </summary>
    [Serializable()]
    public class ResultTypeNotSupportedException : Exception
    {
        /// <summary>
        /// Creates a new instane of the class.
        /// </summary>
        /// <param name="message"></param>
        public ResultTypeNotSupportedException(string message) : base(message) { }
    }
}
